/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/UnitTests/JUnit5TestClass.java to edit this template
 */

package org.sbbs.profiles;

import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
 
/**
 * 描述:<br/><br/>
 * 
 * Junit 5.x 说明描述用途及关键点,算法等
 * <p>
 * 创建时间: 2025年1月9日 18:27:17 <br/>
 * 作者: Mr.FDC <fdc_messenger@126.com> <br/>
 * 
 * <p>
 * 修改记录:<br/>
 * 1.aaaaaa<br/>
 * 2.bbbbbb<br/>
 */
@Slf4j
@ActiveProfiles(value = "b")
@SpringBootTest
public class DemoPropertiesTestB {
@Autowired
DemoProperties demoProperties;
    /**
     * Test of getName method, of class DemoProperties.
     */
    @Test
    public void testGetName() {
		log.info(demoProperties.getName());
		Assertions.assertTrue(demoProperties.getName().equals("demoB"));
    }


}